package com.HQCourse.live.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//配置类
@Configuration
public class LiveConfig {
    //分页插件
    @Bean
    public PaginationInterceptor  painationInterceptor(){
        return new PaginationInterceptor();
    }

}
